package net.csdn.business.discuss.api.model.dto;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;
import java.util.List;


@Data
@NoArgsConstructor
@AllArgsConstructor
public class UpdateDiscussSectionDTO implements Serializable
{

    private static final long serialVersionUID = 1L;

    /** 分类的ID */
    @NotBlank(message = "id不能为空")
    private String id;
    /** 分类名称 */
    @NotBlank(message = "sectionName不能为空")
    private String sectionName;
    /** 分类icon */
    private String sectionIcon;
    /** 创建人 */
    @NotBlank(message = "currUserId不能为空")
    private String currUserId;

    private List<String> categoryIdList;

    private String sourceId;
}
